<?php

/**
 * 项目：红河移动工程过程管理系统
 *
 * 公司：红河移动分公司
 *
 * @author 李朝应
 *
 * E-mail:lichaoying.hh@163.com
 *
 */
if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class flow_model extends CI_Model {

    function __construct() {
        parent::__construct();
    }
 function getSubFlowInfo($currtflow) {
           return $this->db->where("sub_flowCode", $currtflow)->order_by("id","asc")->get('s_subflow');
    } 
 function getSubFlowID($currtflow) {
           return $this->db->where("sub_flowCode", $currtflow)->get('s_flowstep')->row()->fsid;
    }   
}